projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da9280
)
Check for the session bus before using it
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 3 Jan 2019 01:35:19 +0000
(20:35 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 3 Jan 2019 01:35:19 +0000
(20:35 -0500)
Patch by Chris Allen, #475
gtk/gtkapplication-dbus.c
patch
|
blob
|
history
diff --git
a/gtk/gtkapplication-dbus.c
b/gtk/gtkapplication-dbus.c
index e83265091cbf5402b0d385491bb6a931cc203a61..25766aaae2ac75213e7809e101dc6cc53644512f 100644
(file)
--- a/
gtk/gtkapplication-dbus.c
+++ b/
gtk/gtkapplication-dbus.c
@@
-424,7
+424,7
@@
gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
"gtk-shell-shows-menubar", FALSE,
NULL);
- if (dbus->sm_proxy == NULL)
+ if (dbus->sm_proxy == NULL
&& dbus->session
)
{
dbus->inhibit_proxy = gtk_application_get_proxy_if_service_present (dbus->session,
G_DBUS_PROXY_FLAGS_NONE,